/*********************************************************
          File Name:test.cpp
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Sat 17 Oct 2015 12:08:06 PM CST
**********************************************************/

#include <iostream>
#include <iomanip>
#include "timer.h"

int main()
{
        Timer T;

	std::cout << "the third Friday of each month in 2004" << std::endl;
	for(int i = 1; i <=12 ; i++)
		printf("month %02d\t%10d\n", i, T.find_date_by_wday(2004, i, 3, 5));

	
	std::cout << "the third Friday of each month in 2015" << std::endl;
	for(int i = 1; i <=12 ; i++)
		printf("month %02d\t%10d\n", i, T.find_date_by_wday(2015, i, 3, 5));

        return 0;
}
